/**
 *
 */
package com.demo2do.fms.admin.service.data;

import com.demo2do.fms.entity.data.MasterData;
import com.demo2do.fms.entity.data.business.VehicleFeature;

import java.util.List;
import java.util.Map;

/**
 * @author downpour
 */
public interface MasterDataService {
    
    /**
     * get master_data value by type and id
     * 
     * @param type
     * @param id
     * @return
     */
    public String load(String type, Long id);
    
    /**
     * @param oilTypeId
     * @return
     */
    public String getOilType(Long oilTypeId);
    
    /**
     * get all master dates mapped by type
     * 
     * @return
     */
    public Map<String, List<MasterData>> list();
    
    /**
     * 
     * @return
     */
    public List<MasterData> listOilType();
    
    /**
     * 
     * @return
     */
    public List<MasterData> listShipmentStatus();
    
    /**
     * 
     * @return
     */
    public List<VehicleFeature> listVehicleFeature();
    
    
}
